Skip to content

Conversation

joelte
Copy link
Member

@joelte joelte commented Nov 13, 2026 •

Adds a way for users to remove a rating they've given a game.

  • New deleteRating GraphQL mutation that deletes the user's review and recomputes game aggregates
  • StarRating component now shows a small remove (x) button when a rating exists and onDelete is provided
  • GameDetails wires up the delete mutation and updates the local cache/review list accordingly

Merged decimal place fix and ai-docs update into this request aswell. See #78

Closes #62 #71 #76

Implemented a x button that lets a user delete their rating from the gamedetails page.
@joelte joelte requested a review from a team as a code owner November 13, 2026 13:08
joelte and others added 3 commits November 13, 2026 14:29
Average scores now round to nearest 2 decimals when relevant in the UI.
Updated ai-usage.md with info ralating to delivery 2 and 3
Round displayed score to 2 decimals and update AI usage docs
Copy link
Member

@ayseza ayseza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. Works as intended, well done!

@ayseza ayseza merged commit 04fe0b2 into dev Nov 13, 2026
@ayseza ayseza deleted the delete-rating branch November 13, 2026 22:42
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants